package com.store_pro.entity;


import jakarta.persistence.Id;
import lombok.Data;
import lombok.EqualsAndHashCode;


/** 购物车数据的实体类
 * @author jasmine*/
@EqualsAndHashCode(callSuper = true)
@Data
public class Cart extends BaseEntity {
    /**购物车数据的id*/
    @Id
    private Integer cid;
    /**用户id*/
    private Integer uid;
    /**商品id*/
    private Integer pid;
    /**商品价格*/
    private Long price;
    /**商品数量*/
    private Integer num;

}
